package com.ldgk.pim.client.rpc;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.ldgk.pim.data.Place;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface PlacesServiceAsync {
	public void persist(Place place, AsyncCallback<Void> callback);
	public void delete(Place place, AsyncCallback<Void> callback);
	public void findInsideBox(double startLat, double startLng, double endLat, double endLng, AsyncCallback<List<Place>> callback);

}
